<!DOCTYPE html>
<html>
  <head>
    <title>ciao</title>
    <!-- Required meta tags -->
    <meta charset="utf-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, shrink-to-fit=no"
    />
    <%= csrf_meta_tags %>
    <%= csp_meta_tag %>
    <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>
  </head>

  <body>
    <div class="container">
      <p></p>
      <div class="row">
        <div class="col-12">
          <p>
            <%= link_to 'ciao', root_path, class: 'btn btn-success' %>
            <%= link_to 'Checks', checks_path, class: 'btn btn-outline-info' %>
            <%= link_to '<i class="fe fe-plus"></i> Check'.html_safe,
              new_check_path, class: 'btn btn-outline-success'%>
            <%= link_to '<i class="fe fe-settings"></i>'.html_safe,
              admin_checks_path, class: 'btn btn-icon btn-outline-secondary'%>
          </p>
        </div>
      </div>
      <div class="row">
        <div class="col-12">
          <%= yield %>
          <div class="small text-muted">
            <%= link_to 'ciao', 'https://brotandgames.com/ciao/' %>
            <%= File.read(File.join(Rails.public_path, 'version')) %>
          </div>
          <p></p>
        </div>
      </div>
    </div>
  </body>
</html>
